inherited FPesquisaLancamentoEstoque: TFPesquisaLancamentoEstoque
  Left = 259
  Top = 126
  Caption = 'Pesquisa Lan'#231'amento Estoque'
  ClientHeight = 310
  OldCreateOrder = True
  PixelsPerInch = 96
  TextHeight = 13
  inherited Panel2: TPanel
    inherited BtnLimpar: TBitBtn
      OnClick = BtnLimparClick
    end
    inherited BtnImprimir: TBitBtn
      OnClick = BtnImprimirClick
    end
    inherited BtnSelecionar: TBitBtn
      OnClick = BtnSelecionarClick
    end
  end
  inherited Panel1: TPanel
    Height = 269
    object Label3: TLabel [0]
      Left = 77
      Top = 2
      Width = 26
      Height = 13
      Caption = 'Local'
    end
    object Label2: TLabel [1]
      Left = 153
      Top = 75
      Width = 38
      Height = 13
      Caption = 'Per'#237'odo'
    end
    object Label1: TLabel [2]
      Left = 5
      Top = 38
      Width = 76
      Height = 13
      Caption = 'Tipo Movimento'
    end
    object Label7: TLabel [3]
      Left = 77
      Top = 74
      Width = 15
      Height = 13
      Caption = 'OS'
    end
    object Label4: TLabel [4]
      Left = 5
      Top = 75
      Width = 33
      Height = 13
      Caption = 'Pedido'
    end
    object Label5: TLabel [5]
      Left = 244
      Top = 93
      Width = 6
      Height = 13
      Caption = 'a'
    end
    object Label6: TLabel [6]
      Left = 5
      Top = 2
      Width = 33
      Height = 13
      Caption = 'C'#243'digo'
    end
    inherited DBGrid1: TDBGrid
      Top = 171
      Height = 74
      Ctl3D = False
      Font.Charset = ANSI_CHARSET
      Font.Name = 'Times New Roman'
      Options = [dgEditing, dgTitles, dgIndicator, dgColumnResize, dgColLines, dgTabs, dgConfirmDelete, dgCancelOnExit]
      ParentCtl3D = False
      ParentFont = False
      TabOrder = 8
      TitleFont.Charset = ANSI_CHARSET
      TitleFont.Name = 'Times New Roman'
      TitleFont.Style = [fsBold]
      Columns = <
        item
          Expanded = False
          FieldName = 'MOVEST_CODIGO'
          Title.Caption = 'Movimento'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'MOVEST_DATALANCAMENTO'
          Title.Caption = 'Data lan'#231'amento'
          Width = 94
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'LOC_DESCRICAO'
          Title.Caption = 'Local'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'TIPMOVEST_DESCRICAO'
          Title.Caption = 'Tipo Movimento'
          Width = 86
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'MOVEST_PEDIDO'
          Title.Caption = 'Pedido'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'MOVEST_DOCUMENTO'
          Title.Caption = 'Documento'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'MOVEST_DATADOCUMENTO'
          Title.Caption = 'Data Documento'
          Width = 90
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'MOVEST_OS'
          Title.Caption = 'OS'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'PROD_DESCRICAOENT'
          Title.Caption = 'Produto'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'PROD_REFERENCIA'
          Title.Caption = 'Refer'#234'ncia'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'PROD_UNIDSAIDA'
          Title.Caption = 'Unidade Sa'#237'da'
          Width = 84
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'ITENSMOVEST_QUANTIDADE'
          Title.Caption = 'Quantidade'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'ITENSMOVEST_VALORC'
          Title.Caption = 'Valor'
          Visible = True
        end>
    end
    inherited Panel3: TPanel
      Top = 245
      Height = 23
      TabOrder = 7
    end
    object DBLCBLocal: TDBLookupComboBox
      Left = 77
      Top = 16
      Width = 325
      Height = 19
      Ctl3D = False
      KeyField = 'LOC_CODIGO'
      ListField = 'LOC_DESCRICAO'
      ListSource = DSLocal
      ParentCtl3D = False
      TabOrder = 1
      OnKeyDown = DBLCBLocalKeyDown
    end
    object DEIni: TDateEdit
      Left = 153
      Top = 89
      Width = 89
      Height = 21
      Ctl3D = False
      NumGlyphs = 2
      ParentCtl3D = False
      TabOrder = 4
    end
    object DBLCBTipoMoviemnto: TDBLookupComboBox
      Left = 5
      Top = 52
      Width = 398
      Height = 19
      Ctl3D = False
      KeyField = 'TIPMOVEST_CODIGO'
      ListField = 'TIPMOVEST_DESCRICAO'
      ListSource = DSTipoMovimento
      ParentCtl3D = False
      TabOrder = 2
      OnKeyDown = DBLCBLocalKeyDown
    end
    object CkBTodasEmpresas: TCheckBox
      Left = 5
      Top = 113
      Width = 115
      Height = 17
      Caption = 'Todas as Empresas'
      TabOrder = 5
      OnClick = CkBTodasEmpresasClick
    end
    object CLBEmpresas: TCheckListBox
      Left = 1
      Top = 131
      Width = 409
      Height = 40
      Align = alBottom
      Columns = 1
      Ctl3D = False
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 6
    end
    object DBLCBPedido: TDBLookupComboBox
      Left = 5
      Top = 89
      Width = 68
      Height = 19
      Ctl3D = False
      KeyField = 'PED_CODIGO'
      ListField = 'PED_CODIGO'
      ListSource = DSPedido
      ParentCtl3D = False
      TabOrder = 3
      OnKeyDown = DBLCBLocalKeyDown
    end
    object EOS: TEdit
      Left = 77
      Top = 89
      Width = 65
      Height = 19
      Ctl3D = False
      ParentCtl3D = False
      TabOrder = 9
    end
    object DEFim: TDateEdit
      Left = 256
      Top = 89
      Width = 89
      Height = 21
      Ctl3D = False
      NumGlyphs = 2
      ParentCtl3D = False
      TabOrder = 10
    end
    object EdCodigo: TEdit
      Left = 5
      Top = 16
      Width = 65
      Height = 19
      Ctl3D = False
      ParentCtl3D = False
      TabOrder = 0
    end
  end
  inherited QPesquisa: TQuery
    SQL.Strings = (
      ''
      ''
      
        'Select MovEst_Codigo,MovEst_DataLancamento,Loc_Descricao,TipMovE' +
        'st_Descricao,MovEst_Pedido,MovEst_Documento,MovEst_DataDocumento' +
        ',MovEst_OS,'
      
        'Prod_Codigo,Prod_DescricaoEnt,Prod_Referencia,Prod_UnidSaida,ITE' +
        'NSMOVEST_QUANTIDADE,ITENSMOVEST_VALORC'
      ''
      'from '
      
        'TipoMovimentoEstoque Right join (Local Right join(MovimentoEstoq' +
        'ue  left join (ItensMovimentoEstoque Left Join Produto on Prod_C' +
        'odigo = ItensMovest_Produto) on MovEst_Codigo = ItensMovEst_Movi' +
        'mentoEstoque) on MovEst_Local = Loc_Codigo) on TipMovEst_Codigo ' +
        '= MovEst_TipoMovimento'
      ''
      ''
      'Order By MovEst_DataLancamento,MovEst_Codigo'
      ''
      ''
      ';')
    Left = 160
    Top = 169
  end
  inherited DSPesquisa: TDataSource
    Left = 200
    Top = 169
  end
  object DSLocal: TDataSource
    DataSet = DMGestao.QLocal
    Left = 344
    Top = 192
  end
  object DSTipoMovimento: TDataSource
    DataSet = DMGestao.QTipoMovimentoEstoque
    Left = 296
    Top = 184
  end
  object DSPedido: TDataSource
    DataSet = DMGestao.QPedido
    Left = 40
    Top = 208
  end
end
